home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 8134 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  960 b 

  1. Path: news.ov.com!news
  2. From: glenn@ov.com (Fletcher.Glenn@ov.com)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Call by ref of int's
  5. Date: 1 Mar 1996 19:26:11 GMT
  6. Organization: OpenVision
  7. Message-ID: <4h7j0j$o1p@spanky.pls.ov.com>
  8. References: <3133058E.41C67EA6@ap.co.umist.ac.uk>
  9. Reply-To: glenn@ov.com
  10. NNTP-Posting-Host: foghorn.pls.ov.com
  11.  
  12. In article 41C67EA6@ap.co.umist.ac.uk, Dan <dan@ap.co.umist.ac.uk> writes:
  13. >I have a problem with my program;
  14. >
  15. >I am writing a 3d engine and I have to read in from a txt file into
  16. >a struct, and push each struct onto a stack.
  17. >
  18. >When I pop the stack, I call;
  19. >
  20. >    pop_facet(&facet_current, &a, &b, &c)
  21. [snipped a lot]
  22.  
  23. Call by ref is a C++ capability.  ANSI C only supports call by value.
  24.  
  25.             Fletcher.Glenn@ov.com
  26.  
  27. >what's going on???
  28. >---------------------------------
  29. >dan@ap.co.umist.ac.uk        
  30. >                
  31. >"If all the world's a stage....    
  32. > then Steven Fry's f***ed!!"    
  33. >                
  34. >GAME ON!            
  35. >---------------------------------
  36.  
  37.  
  38.  
  39.  
  40.  
  41.